<div class="dialog modal fade in" id="saveFunction" aria-hidden="false">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title">功能添加</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" id="saveForm" method="post" role="form">
                    <input id="id" name="id" type="hidden" value="">
                    <div class="form-horizontal">
                        <div class="form-group">
                            <label class="control-label col-md-3" for="name">功能名称</label>
                            <div class="col-md-9">
                                <input class="form-control text-box single-line" id="name" name="name" type="text" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-3" for="controller">控制器</label>
                            <div class="col-md-9">
                                <input class="form-control text-box single-line" id="controller" name="controller" type="text" value="">
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-success" onclick="saveFunction()">提交</button>
                <button type="button" class="btn btn-default" data-dismiss="modal" aria-hidden="true">取消</button>
            </div>
        </div>
    </div>
</div>